use crate::{service::fiof::FifoService, AppState};
use actix_web::{get, web, Responder};
use std::collections::HashMap;

#[get("/fiof/query")]
pub async fn get_fiof_info(
    query: web::Query<HashMap<String, String>>,
    app_state: web::Data<AppState>,
) -> impl Responder {
    FifoService::get_fiof_info(query, app_state).await
}
